<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns="http://java.sun.com/xml/ns/javaee"
	xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
	id="WebApp_ID" version="3.0">
	<display-name>SmartEagleWeb</display-name>
	<welcome-file-list>
		<welcome-file>SmartEagle.html</welcome-file>
	</welcome-file-list>

	<security-constraint>
		<display-name>SecurityConstraint</display-name>
		<web-resource-collection>
			<web-resource-name>Eagle security</web-resource-name>
			<url-pattern>/*</url-pattern>
		</web-resource-collection>
		<auth-constraint>
			<role-name>adminEagle</role-name>
		</auth-constraint>
		<user-data-constraint>
			<transport-guarantee>NONE</transport-guarantee>
		</user-data-constraint>
	</security-constraint>
	<security-constraint>
		<web-resource-collection>
			<web-resource-name>app</web-resource-name>
			<url-pattern>/login/*</url-pattern>
		</web-resource-collection>
	</security-constraint>
	<login-config>
		<auth-method>BASIC</auth-method>
		<realm-name>SmartJaasRealm</realm-name>
<!-- 		<form-login-config> -->
<!-- 			<form-login-page>/Login.html</form-login-page> -->
<!-- 			<form-error-page>/Error.html</form-error-page> -->
<!-- 		</form-login-config> -->
	</login-config>

	<security-role>
		<role-name>adminEagle</role-name>
	</security-role>
	<session-config>
		<session-timeout>20</session-timeout>
	</session-config>

	<filter>
		<filter-name>CompressingFilter</filter-name>
		<filter-class>com.planetj.servlet.filter.compression.CompressingFilter</filter-class>
		<init-param>
			<param-name>debug</param-name>
			<param-value>false</param-value>
		</init-param>
	</filter>
	<filter-mapping>
		<filter-name>CompressingFilter</filter-name>
		<url-pattern>/*</url-pattern>
	</filter-mapping>

	<filter>
		<display-name>GWTCacheControlFilter</display-name>
		<filter-name>GWTCacheControlFilter</filter-name>
		<filter-class>co.com.smart.eagle.server.filter.GWTCacheControlFilter</filter-class>
	</filter>
	<filter-mapping>
		<filter-name>GWTCacheControlFilter</filter-name>
		<url-pattern>/*</url-pattern>
	</filter-mapping>

	<servlet>
		<description></description>
		<display-name>LoginServiceImpl</display-name>
		<servlet-name>LoginServiceImpl</servlet-name>
		<servlet-class>co.com.smart.eagle.server.servicehandler.login.LoginServiceImpl</servlet-class>
	</servlet>
	<servlet-mapping>
		<servlet-name>LoginServiceImpl</servlet-name>
		<url-pattern>/SmartEagle/loginService</url-pattern>
	</servlet-mapping>
		<servlet>
		<description></description>
		<display-name>ResourcesServiceImpl</display-name>
		<servlet-name>ResourcesServiceImpl</servlet-name>
		<servlet-class>co.com.smart.eagle.server.servicehandler.resources.ResourcesServiceImpl</servlet-class>
	</servlet>
	<servlet-mapping>
		<servlet-name>ResourcesServiceImpl</servlet-name>
		<url-pattern>/SmartEagle/resourcesService</url-pattern>
	</servlet-mapping>

</web-app>